#include <stdio.h>
#include <stdlib.h>
int main()
{
	FILE *fp;
	int x,y;
	printf("Input 2 numbers:");
	scanf("%d,%d",&x,&y);
	if((fp=fopen("test3.dat","w"))==NULL)
	{
		printf("Can not open file\n");
		exit(0);
	}
	else
		fprintf(fp,"%d %d",x,y);
	fclose(fp);
	return 0;
}